<template>
  <div class="container">
    <el-page-header @back="goBack" content="客户组列表"></el-page-header>
    
    <enterpriseList :franchiseId="franchiseId"></enterpriseList>
  </div>
</template>

<script>
import {
	mapState
} from 'vuex';
import enterpriseList from '@/components/enterprise-list/enterprise-list.vue'

export default {
  layout: 'admin',
  components: {
    enterpriseList
  },
  head() {
    return {
      title: '客户组列表'
    }
  },
  data() {
    return {
      franchiseId: localStorage.getItem('franchiseid')
    }
  },
  computed: {
    ...mapState({
			loading: state => state.loading
		}),
  },
  mounted() {
    
  },
  methods: {
    goBack() {
      this.$router.go(-1)
    }
  }
}
</script>

<style lang="scss" scoped></style>